<?php
namespace app\admin\controller;
use \think\Controller;
use \think\Request;
use \think\facade\Session;
use \think\Db;
use \think\facade\Config;


/*询问数据*/
class Searnum extends Base{



	/*列表*/
	public function index(Request $request){
		$this->check_session();
        /*左侧导航*/
        $data_get=$request->get()['nav'];

        $data=$this->navleft($data_get);


        $sql="SELECT * FROM lily_sear_num ORDER BY create_time DESC LIMIT 0,300";
        $data['data']=Db::query($sql);

        $this->assign($data);
        
	    return $this->fetch();
	}
}	